package com.gome.base;

import com.gome.vue4j.core.AbstractVue4jComponent;
import com.gome.vue4j.core.FXMLPath;
import javafx.fxml.FXML;

/**
 * 表达式绑定,主意是从controller开始的
 */
@FXMLPath("/base/l2-view.fxml")
public class L2BindComponent extends AbstractVue4jComponent {

    //简单数据绑定
    @FXML
    public String site = "傀儡师";
    //表达式绑定
    @FXML
    public  String url = "ichiva.cn";
    //特殊符号绑定
    @FXML
    public String alexa = "${10000+}";

    @FXML
    public String details(){
        return "http://www." + url;
    }
}
